package com.blacktry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blacktry.entity.model.ApiResult;
import com.blacktry.entity.model.PaperManage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blacktry.entity.model.request.PaperRequest;

import java.util.List;

/**
 * <p>
 * 试卷管理表 服务类
 * </p>
 *
 * @author blackTry
 * @since 2021-08-10
 */
public interface PaperManageService extends IService<PaperManage> {
    List<PaperManage> selectAll();

    int insert(PaperManage paperManage);

    List<Integer> findAllIds();

    Page<PaperManage> findAllIdsPage(PaperRequest paperRequest, Page<PaperManage> paperManagePage);

    Integer delete(Integer paperId,Integer questionId,Integer questionType);

    Integer deleteBatchIds(Integer paperId,String[] questionIds,Integer questionType);
}
